<?php
/*
//由于已经可以保证结构正确，所以不从抽象类继承。
require_once("Stratosphere.ServerLog.class.php");
class  StratosphereServerLog extends AbstractStratosphereServerLog{
*/
class StratosphereServerLog {
	
	protected $ServerLogObject=false;
	function __construct($options=null) {
		require_once "BaeLog.class.php";
		$this->ServerLogObject=BaeLog::getInstance();
	}
	function __destruct(){
		if($ServerLogObject){
			unset( $this->ServerLogObject);
		}
	}
	
	//打印一条轨迹日志
	function Trace( $str ){
		$this->ServerLogObject->logTrace($str);
	}
	//打印一条通知日志
	function Notice( $str ){
		$this->ServerLogObject->logNotice($str);
	}
	//打印一条调试日志
	function Debug( $str ){
		$this->ServerLogObject->logDebug($str);
	}
	//打印一条警告日志
	function Warning( $str ){
		$this->ServerLogObject->logWarning($str);
	}
	//打印一条致命日志
	function Fatal( $str ){
		$this->ServerLogObject->logFatal($str);
	}
}
?>